/*********************************************************
 *  Copyright (c) 2011 by Web Information Systems (WIS) Group, 
 *  Delft University of Technology.
 *  Qi Gao, http://wis.ewi.tudelft.nl/index.php/home-qi-gao
 *  
 *  Some rights reserved.
 *
 *  Contact: q.gao@tudelft.nl
 *
 **********************************************************/
package org.persweb.genius.model;

import java.sql.Timestamp;
import java.util.List;


/**
 * @author Qi Gao <a href="mailto:q.gao@tudelft.nl">q.gao@tudelft.nl</a>
 * @version created on Jun 20, 2011 2:20:37 PM
 */
public interface Item{
	
	/**
	 * 
	 * @return
	 */
	public Long getId();
	
	/**
	 * 
	 * @param id
	 */
	public void setId(Long id);
	
	/**
	 * 
	 * @return
	 */
	public Integer getUserId();
	
	/**
	 * 
	 * @param userId
	 */
	public void setUserid(Integer userId);
	
	/**
	 * 
	 * @return
	 */
	public String getContent();
	
	/**
	 * 
	 * @param content
	 */
	public void setContent(String content);
	
	/**
	 * 
	 * @return
	 */
	public Timestamp getCreationTime();
	
	/**
	 * 
	 * @param creationTime
	 */
	public void setCreationTime(Timestamp creationTime);
	
	/**
	 * @return the concepts that represent the content of the item
	 */
	public List<Concept> getConcepts();
	
	
	/**
	 * @param concepts the concepts that represent the content of the item
	 */
	public void setConcepts(List<Concept> concepts);
	
	/**
	 * @param concept add a concept to the item representation
	 */
	public void addConcept(Concept concept);
	
}